package com.liuweiheng.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 开启nacos服务发现
@EnableDiscoveryClient
// 开启OpenFeign服务调用
@EnableFeignClients
public class NacosConsumerMain9528 {
    public static void main(String[] args) {
        SpringApplication.run(NacosConsumerMain9528.class, args);
    }
}


